<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        .header{
            height: 60px;
            background: skyblue;
        }
        .main{
            position: absolute;
            left: 0;
            top:60px;
            right: 0;
            bottom: 60px;
            background: antiquewhite;
        }

        .main .left{
            position: absolute;
            left: 0;
            top:0;
            bottom: 0;
            width: 240px;
            background: aquamarine;
        }
        .main .right{
            position: absolute;
            left: 240px;
            top:0;
            right: 0;
            bottom: 0;
            background-color: brown;
            overflow: auto;
        }

        .footer{
            position: absolute;
            left: 0;
            bottom: 0;
            right: 0;
            height: 60px;
            background: darkgray;
        }
    </style>
</head>
<body>
<div class="header">header</div>
<div class="main">
    <div class="left">left</div>
    <div class="right">right content
    <div style="width: 10px;height: 1000px;"></div>
    </div>
</div>
<div class="footer">footer</div>
</body>
</html>